package jpb.module.dao.manager.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * Created by haol on 2017/4/1.
 */
@Component
public interface ManagerOrgMapper {

        void add(@Param("mid") String mid, @Param("oid") String oid,@Param("founder") Integer founder);

        Integer get(@Param("mid") String mid, @Param("oid") String oid,@Param("founder") int founder);

        void delete(@Param("mid") String mid, @Param("oid") String oid);

        //void deleteByMid(@Param("mid") String mid);

        void deleteByOid(@Param("oid") String oid);

}
